package com.company.geometric.background;

/**
 * Created by v on 16-11-30.
 */
public class Circle extends Geometry{
    private Point point;
    private int x;
    private int y;

    public Circle(int x,int y,int radius,String message){
        super(message);
        point=new Point(x-radius,y-radius);
        this.x=2*radius;
        this.y=2*radius;
    }

    public int getX(){
        return x;
    }

    public int getY(){
        return y;
    }

    public Point getPoint(){
        return point;
    }
}
